Skip to content

feat: add analytics step to investor onboarding tour - #741

Open
She-ge wants to merge 1 commit into
OpenLedger-Foundation:mainfrom
She-ge:feat/onboarding-analytics-step
Open

feat: add analytics step to investor onboarding tour #741
She-ge wants to merge 1 commit into
OpenLedger-Foundation:mainfrom
She-ge:feat/onboarding-analytics-step

Conversation

@She-ge

@She-ge She-ge commented Aug 29, 2026

Copy link
Copy Markdown
Contributor
  • Add 5th investor tour step targeting [data-tour='analytics-header'] with optional:true flag so it gracefully auto-skips when the analytics route is unavailable in the current user's context
  • Add /analytics to ELIGIBLE_ROUTES so the tour can surface on that page
  • Add data-tour='analytics-header' attribute to the analytics page header
  • Add viewAnalyticsTitle / viewAnalyticsBody translation keys in en.json, ar.json, es.json, and pt-BR.json
  • Update OnboardingTour.test.tsx:
    • Mock new translation keys (viewAnalytics*)
    • Add 'investor tour has 5 steps' test with DOM anchor + scrollIntoView polyfill for JSDOM
    • Add 'SME tour unchanged (3 steps)' regression test
  • SME tour configuration is completely untouched

Closes #665

Summary

Linked Issue

Closes #

What Changed

Testing Steps

Screenshots or Recordings

Add before/after screenshots for UI changes, especially invoice, SME dashboard, investor marketplace, position, and wallet states.

Checklist

  • Tests added or updated
  • Docs updated, if needed
  • Accessibility checked
  • Wallet and network behavior considered
  • SME, investor, invoice, or position terminology is accurate
  • No secrets, private keys, real wallet seed phrases, or live credentials added

Notes for Reviewers

Call out any migration steps, mocked data, incomplete contract wiring, or areas that need focused review.

…nLedger-Foundation#665)

- Add 5th investor tour step targeting [data-tour='analytics-header']
  with optional:true flag so it gracefully auto-skips when the analytics
  route is unavailable in the current user's context
- Add /analytics to ELIGIBLE_ROUTES so the tour can surface on that page
- Add data-tour='analytics-header' attribute to the analytics page header
- Add viewAnalyticsTitle / viewAnalyticsBody translation keys in
  en.json, ar.json, es.json, and pt-BR.json
- Update OnboardingTour.test.tsx:
    - Mock new translation keys (viewAnalytics*)
    - Add 'investor tour has 5 steps' test with DOM anchor + scrollIntoView
      polyfill for JSDOM
    - Add 'SME tour unchanged (3 steps)' regression test
- SME tour configuration is completely untouched

Closes OpenLedger-Foundation#665
@drips-wave

drips-wave Bot commented Aug 29, 2026

Copy link
Copy Markdown

@She-ge Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add an analytics step to the investor onboarding tour

1 participant